package com.pianzhu.blockchainemr.service;

import com.pianzhu.blockchainemr.pojo.*;
import com.pianzhu.blockchainemr.pojo.Param.OperationLogQuery;
import com.pianzhu.blockchainemr.pojo.result.PageResult;
import com.pianzhu.blockchainemr.pojo.result.RecentActivitiesResult;
import com.pianzhu.blockchainemr.pojo.result.StatisticsResult;

import java.util.List;

public interface AdminService {
    List<EmrDeptDict> getDeptList();

    void addDept(EmrDeptDict dept);

    void updateDept(EmrDeptDict dept);

    void deleteDept(EmrDeptDict dept);

    List<EmrDiseaseDict> getDiseaseList();

    void addDisease(EmrDiseaseDict disease);

    void updateDisease(EmrDiseaseDict disease);

    void deleteDisease(EmrDiseaseDict disease);

    List<EmrExamItemDict> getExamItemList();

    void addExamItem(EmrExamItemDict examItem);

    void updateExamItem(EmrExamItemDict examItem);

    void deleteExamItem(EmrExamItemDict examItem);

    List<EmrDrugDict> getDrugList();

    void addDrug(EmrDrugDict drug);

    void updateDrug(EmrDrugDict drug);

    void deleteDrug(EmrDrugDict drug);

    StatisticsResult getStatistics();

    List<RecentActivitiesResult> getRecentActivitiesResult();

    PageResult<OperationLog> getOperationList(OperationLogQuery query);
}
